<?
	$this->dbLoad("Category");
	$categories = $this->dbCategory->find(array(
		"conditions" => array("parent_id"=>0)
	));
?>
<ul id="items" class="clean home">
	<? foreach ($categories as $category): ?>
	<li>
		<h2>
			<a href="/category/show/<?= $category["id"]; ?>/<?=urlize($category["name"]); ?>">
				<span class="image">
				<img width="220" height="180" src="/image/category/<?= urlize($category["name"]); ?>.jpg" alt="<?= $category["name"] ?>" />
				</span>
				<?= $category["name"]; ?>
			</a>
		</h2>
	</li>
	<? endforeach; ?>
</ul>

<script type="text/javascript">
$(function(){
	MouseOver($("#items"));
});
</script>